<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="https://cdn.bootcss.com/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
hello!
<br/>
<button onclick="get00()">get00</button>
<button onclick="get01()">get01</button>
<button onclick="get02()">get02</button>
<button onclick="get03()">get03</button>
<button onclick="get04()">get04</button>
<br/>
<button onclick="post00()">post00</button>
<button onclick="post01()">post01</button>
</body>
</html>
<script src="get.js" type="text/javascript"></script>
<script type="text/javascript">
  function post00() {
    $.ajax({
      type: "POST",
      url: "post00",
      data: {
        "id": 23423,
        "name": "xiaoming",
        "pass": "password"
      },
      success: function (data) {
        console.info(data);
      }
    })
  }

  function post01() {
    $.ajax({
      type: "POST",
      url: "post01",
      data: {
        "abc": 23423,
        "xyz": "rfgh",
      },
      success: function (data) {
        console.info(data);
      }
    })
  }
</script>